package com.freemarker.db;

/**
 * 系统常量存放位置
 */
public class Constants {

	// 自定义配置文件
	public static final String ENVIRONMENT_PROPERTIES_PATH = "role-url.properties";

	private static String isCamelCaseStr = EnvironmentUtil.getInstance().getPropertyValue("isCamelCase");
	/** 骆驼式命名法  */
	public static boolean isCamelCase =( isCamelCaseStr == null ||"false".equalsIgnoreCase(isCamelCaseStr)) ? false : true;
	
	private static String isWrapperDataTypeStr = EnvironmentUtil.getInstance().getPropertyValue("isWrapperDataType");
	/** 包装的数据类型 */
	public static boolean isWrapperDataType =( isCamelCaseStr == null ||"false".equalsIgnoreCase(isWrapperDataTypeStr)) ? false : true;
	
	private static String isInitHtmlFieldDefaultValueStr = EnvironmentUtil.getInstance().getPropertyValue("isInitHtmlFieldDefaultValue");
	/** 包装的数据类型 */
	public static boolean isInitHtmlFieldDefaultValue =( isCamelCaseStr == null ||"false".equalsIgnoreCase(isInitHtmlFieldDefaultValueStr)) ? false : true;

	public static void main(String[] args) {

	}
}